<?php
/**
 * This file is part of webman.
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the MIT-LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @author    walkor<walkor@workerman.net>
 * @copyright walkor<walkor@workerman.net>
 * @link      http://www.workerman.net/
 * @license   http://www.opensource.org/licenses/mit-license.php MIT License
 */

use Webman\Route;
use Illuminate\Support\Facades\Cache;
use support\Request;

//请求不存在的url返回信息125
Route::fallback(function (Request $request) {
    $response = strtoupper($request->method()) === 'OPTIONS' ? response('', 204) : returnJson([GlobalCode::CODE => GlobalCode::NOT_FOUND, GlobalCode::MSG => '404 not found', GlobalCode::DATA => null]);
    $response->withHeaders([
        'Access-Control-Allow-Credentials' => 'true',
        'Access-Control-Allow-Origin' => "*",
        'Access-Control-Allow-Methods' => '*',
        'Access-Control-Allow-Headers' => '*',
    ]);

    return $response;
});

//关闭自动路由
Route::disableDefaultRoute();






Route::group('/wmapi', function () {


    Route::post('/public-comment-test', [app\controller\wmapi\PublicCommentController::class, 'test']);// 公共注释说明-测试接口


    Route::post('/wp-upload', [app\controller\wmapi\IndexController::class, 'wpupload']);// wp图片上传-按天
    Route::post('/pms-upload', [app\controller\wmapi\IndexController::class, 'upload']);// 图片上传
    Route::post('/pms-finance-rate', [app\controller\wmapi\IndexController::class, 'financeRate']);// 美元-人民币汇率

    Route::post('/pms-test', [app\controller\wmapi\IndexController::class, 'test']);// 测试
    Route::post('/pms-test-w', [app\controller\wmapi\IndexController::class, 'testW']);//
    Route::post('/pms-test-ip', [app\controller\wmapi\IndexController::class, 'testIp']);//
    Route::post('/baidu-translate-api', [app\controller\wmapi\BaiduTransapi::class, 'translate']); // 百度翻译Api



    Route::post('/order-bill-category', [app\controller\wmapi\IndexController::class, 'orderBillCategory']);// 订单款项类目


    Route::post('/admin-product-list-brands', [app\controller\wmapi\purchase\DcdProductsController::class, 'productListBrands']);// 产品品牌列表-不分页
    Route::post('/admin-product-list-brands-sub', [app\controller\wmapi\purchase\DcdProductsController::class, 'productListBrandSub']);// 产品品牌厂商列表-不分页
    Route::post('/admin-product-list-series', [app\controller\wmapi\purchase\DcdProductsController::class, 'productListSeries']);// 产品品牌车系列表-不分页
    Route::post('/admin-product-list-model', [app\controller\wmapi\purchase\DcdProductsController::class, 'productListModel']);// 产品品牌车型列表-不分页
    Route::post('/admin-product-list-model-year', [app\controller\wmapi\purchase\DcdProductsController::class, 'productListModelYear']);// 产品品牌车型年份列表-不分页


    Route::post('/pms-syn-specs-data', [app\controller\wmapi\purchase\DcdProductsController::class, 'synSpecsData']);// 同步dcd车型数据(更新result_data到对应字段)
    Route::post('/pms-syn-specs-data-all', [app\controller\wmapi\purchase\DcdProductsController::class, 'synSpecsDataAll']);// 同步dcd车型数据(更新result_data_all到对应字段)
    Route::post('/pms-subid-specs-data', [app\controller\wmapi\purchase\DcdProductsController::class, 'synSubidSpecsData']);// 同步车系数据到车型信息
    Route::post('/pms-syn-subB-brand-firstL-letter-data', [app\controller\wmapi\purchase\DcdProductsController::class, 'synSubBrandFirstLetterData']);// 同步品牌首字母数据到车型信息

    Route::post('/pms-classify-specs-nev', [app\controller\wmapi\purchase\DcdProductsController::class, 'classifySpecsNev']);// 同步dcd车型数据(归类新能源传统能源)
    Route::post('/pms-syn-specs-data-bu-lou', [app\controller\wmapi\purchase\DcdProductsController::class, 'synSpecsDataBuLou']);// 同步dcd车型数据补漏更新(更新result_data到对应字段)
    Route::post('/pms-syn-result-data', [app\controller\wmapi\purchase\DcdProductsController::class, 'synResultData']);// 解析 result_data
    Route::post('/pms-reserve-brands', [app\controller\wmapi\purchase\DcdProductsController::class, 'reserveBrands']);// 保留的品牌清单
    Route::post('/pms-check-anda-dd-column', [app\controller\wmapi\purchase\DcdProductsController::class, 'checkAndAddColumn']);// 解析result_data数据 根据 fuel_form 新增缺失字段
    Route::post('/pms-scd-raw-data-properties', [app\controller\wmapi\purchase\DcdProductsController::class, 'scdRawDataProperties']);// 更新raw_data_properties到对应字段 同步dcd车型数据
    Route::post('/pms-check-raw-data-add-column', [app\controller\wmapi\purchase\DcdProductsController::class, 'checkRawDataAddColumn']);// 补充raw_data缺失字段
    Route::post('/pms-series-url-to-specs', [app\controller\wmapi\purchase\DcdProductsController::class, 'seriesUrlToSpecs']);// 懂车帝同步车系照片到车型列表
    Route::post('/single-specs-down-by-python', [app\controller\wmapi\purchase\DcdProductsController::class, 'singleSpecsDownByPython']);// 懂车帝单车型数据爬取-本地
    Route::post('/single-specs-edit-by-python', [app\controller\wmapi\purchase\DcdProductsController::class, 'singleSpecsEditByPython']);// wppy单车型数据更新
    Route::post('/single-specs-list-by-python', [app\controller\wmapi\purchase\DcdProductsController::class, 'singleSpecsListByPython']);// 车帝wppy车型数据列表
    Route::post('/single-specs-down-by-python-online', [app\controller\wmapi\purchase\DcdProductsController::class, 'singleSpecsDownByPythonOnline']);// 懂车帝单车型数据爬取-线上
    Route::post('/single-specs', [app\controller\wmapi\purchase\DcdProductsController::class, 'singleSpec']);// wppy单车型数据爬取接口php-python(flask)
    Route::post('/single-specs-del', [app\controller\wmapi\purchase\DcdProductsController::class, 'singleSpecsDel']);// wppy单车型数据删除
    Route::post('/brand-add-by-dcd-brands', [app\controller\wmapi\purchase\DcdProductsController::class, 'brandAddByDcdBrands']);// wppy品牌添加 - 从已知表里选择 dcd-brands
    Route::post('/series-add-by-dcd-series', [app\controller\wmapi\purchase\DcdProductsController::class, 'seriesAddByDcdSeries']);// wppy车系添加 - 从已知表里选择 dcd-series
    Route::post('/brand-delete-by-brand-id', [app\controller\wmapi\purchase\DcdProductsController::class, 'brandDeleteByBrandId']);// wppy品牌数据删除
//    Route::post('/series-delete-by-series-id', [app\controller\wmapi\purchase\DcdProductsController::class, 'seriesDeleteBySeriesId']);// wppy车系数据删除
    Route::post('/carids-by-dcd-series', [app\controller\wmapi\purchase\DcdProductsController::class, 'carIdsByDcdSeries']);// 车型车系关联表同步

    Route::post('/dcd-used-model-up-by-new', [app\controller\wmapi\purchase\DcdProductsController::class, 'dcdUsedModelUpByNew']);// 二手车同步新车车型数据





    Route::post('/brand-page-list-by-brand', [app\controller\wmapi\purchase\DcdProductsController::class, 'brandPageListByPyBrands']);// wppy品牌数据列表 - 分页
    Route::post('/brand-all-list-by-brand', [app\controller\wmapi\purchase\DcdProductsController::class, 'brandAllListByPyBrands']);// wppy品牌数据列表 - 不分页
    Route::post('/series-page-list-by-series', [app\controller\wmapi\purchase\DcdProductsController::class, 'seriesPageListByPySeries']);// wppy车系数据列表 - 分页
    Route::post('/series-all-list-by-series', [app\controller\wmapi\purchase\DcdProductsController::class, 'seriesAllListByPySeries']);// wppy车系数据列表 - 不分页


    Route::post('/brand-list-all-by-dcd-brand', [app\controller\wmapi\purchase\DcdProductsController::class, 'brandListAllByDcdBrands']);// 懂车帝品牌数据列表 - 不分页
    Route::post('/series-list-all-by-dcd-series', [app\controller\wmapi\purchase\DcdProductsController::class, 'seriesListAllByDcdSeries']);// 懂车帝车系数据列表 - 不分页

    Route::post('/brand-edit-by-wppy', [app\controller\wmapi\purchase\DcdProductsController::class, 'brandEditByWppy']);// wppy品牌编辑
    Route::post('/series-edit-by-wppy', [app\controller\wmapi\purchase\DcdProductsController::class, 'seriesEditByWppy']);// wppy车系编辑




    Route::post('/admin-login', [app\controller\wmapi\LoginController::class, 'login']);// 管理员登录
    Route::post('/admin-logout', [app\controller\wmapi\LoginController::class, 'logout']);// 管理员退出
    Route::get('/admin-info', [app\controller\wmapi\LoginController::class, 'info']);// 获取管理员登录信息
    Route::post('/admin-update', [app\controller\wmapi\LoginController::class, 'update']);// 管理员更新信息（作废）
    Route::get('/admin-menu', [app\controller\wmapi\RuleController::class, 'get']);// 获取登录信息
    Route::get('/admin-captcha', [app\controller\wmapi\LoginController::class, 'captcha']);// 管理员获取验证码


    Route::post('/pms-admin', [app\controller\wmapi\AdminController::class, 'adminList']);// 管理员列表 - 分页
    Route::post('/pms-admin-all', [app\controller\wmapi\AdminController::class, 'adminALL']);// 管理员列表 - 无分页
    Route::post('/pms-admin-create', [app\controller\wmapi\AdminController::class, 'adminCreate']);// 管理员-账户添加
    Route::post('/pms-admin-edit', [app\controller\wmapi\AdminController::class, 'adminEdit']);// 管理员-账户编辑
    Route::post('/pms-admin-del', [app\controller\wmapi\AdminController::class, 'adminDel']);// 管理员-账户删除
    Route::post('/pms-admin-detail', [app\controller\wmapi\AdminController::class, 'adminDetail']);// 管理员-账户信息
    Route::post('/pms-admin-forbidden', [app\controller\wmapi\AdminController::class, 'adminForbidden']);// 管理员-禁用
    Route::post('/pms-admin-reset-passwords', [app\controller\wmapi\AdminController::class, 'resetPasswords']);// 管理员-重置密码
    Route::post('/pms-admin-relevance-merchandiser', [app\controller\wmapi\AdminController::class, 'relevanceMerchandiser']);// 管理员-关联跟单人员
    Route::post('/pms-admin-change-passwords', [app\controller\wmapi\AdminController::class, 'changePasswords']);// 管理员-修改密码
    Route::post('/pms-admin-by-department', [app\controller\wmapi\AdminController::class, 'adminByDepartment']);// 部门所有人



    Route::post('/pms-role', [app\controller\wmapi\RoleController::class, 'roleList']);// 角色列表 - 分页
    Route::post('/pms-role-all', [app\controller\wmapi\RoleController::class, 'roleAll']);// 角色列表 -无分页
    Route::post('/pms-role-create', [app\controller\wmapi\RoleController::class, 'roleCreate']);// 角色添加
    Route::post('/pms-role-edit', [app\controller\wmapi\RoleController::class, 'roleEdit']);// 角色编辑
    Route::post('/pms-role-del', [app\controller\wmapi\RoleController::class, 'roleDel']);// 角色删除
    Route::post('/pms-role-detail', [app\controller\wmapi\RoleController::class, 'roleDetail']);// 角色信息


    Route::post('/pms-department', [app\controller\wmapi\DepartmentController::class, 'departmentList']);// 部门列表 - 分页
    Route::post('/pms-department-all', [app\controller\wmapi\DepartmentController::class, 'departmentAll']);// 部门列表 -无分页
    Route::post('/pms-department-create', [app\controller\wmapi\DepartmentController::class, 'departmentCreate']);// 部门添加
    Route::post('/pms-department-edit', [app\controller\wmapi\DepartmentController::class, 'departmentEdit']);// 部门编辑
    Route::post('/pms-department-del', [app\controller\wmapi\DepartmentController::class, 'departmentDel']);// 部门删除
    Route::post('/pms-department-and-admin-all', [app\controller\wmapi\DepartmentController::class, 'departmentAndAdminAll']);// 所有部门所有人

//    Route::get('/pms-rule', [app\controller\wmapi\PermissionController::class, 'ruleList']);// 权限-列表
//    Route::post('/pms-rule-create', [app\controller\wmapi\PermissionController::class, 'ruleCreate']);// 权限-账户添加
//    Route::post('/pms-rule-edit', [app\controller\wmapi\PermissionController::class, 'ruleEdit']);// 权限-账户编辑
//    Route::get('/pms-rule-del', [app\controller\wmapi\PermissionController::class, 'ruleDel']);// 权限-账户删除

    Route::post('/pms-menu', [app\controller\wmapi\PermissionController::class, 'menu']);// 权限-菜单管理


    Route::post('/pms-member', [app\controller\wmapi\partner\MemberController::class, 'memberList']);// 客户列表 - 分页
    Route::post('/pms-member-all', [app\controller\wmapi\partner\MemberController::class, 'memberAll']);// 客户列表 -无分页
    Route::post('/pms-member-create', [app\controller\wmapi\partner\MemberController::class, 'memberCreate']);// 客户添加
    Route::post('/pms-member-edit', [app\controller\wmapi\partner\MemberController::class, 'memberEdit']);// 客户编辑
    Route::post('/pms-member-del', [app\controller\wmapi\partner\MemberController::class, 'memberDel']);// 客户删除
    Route::post('/pms-member-detail', [app\controller\wmapi\partner\MemberController::class, 'memberDetail']);// 客户详情
    Route::post('/pms-member-maintainer', [app\controller\wmapi\partner\MemberController::class, 'maintainer']);// 维护人


    Route::post('/pms-pol', [app\controller\wmapi\partner\PolController::class, 'polList']);// 装货港列表 - 分页
    Route::post('/pms-pol-all', [app\controller\wmapi\partner\PolController::class, 'polAll']);// 装货港列表 -无分页
    Route::post('/pms-pol-create', [app\controller\wmapi\partner\PolController::class, 'polCreate']);// 装货港添加
    Route::post('/pms-pol-edit', [app\controller\wmapi\partner\PolController::class, 'polEdit']);// 装货港编辑
    Route::post('/pms-pol-del', [app\controller\wmapi\partner\PolController::class, 'polDel']);// 装货港删除
    Route::post('/pms-pol-detail', [app\controller\wmapi\partner\PolController::class, 'polDetail']);//装货港详情


    Route::post('/pms-pod', [app\controller\wmapi\partner\PodController::class, 'podList']);// 卸货港列表 - 分页
    Route::post('/pms-pod-all', [app\controller\wmapi\partner\PodController::class, 'podAll']);// 卸货港列表 -无分页
    Route::post('/pms-pod-create', [app\controller\wmapi\partner\PodController::class, 'podCreate']);// 卸货港添加
    Route::post('/pms-pod-edit', [app\controller\wmapi\partner\PodController::class, 'podEdit']);// 卸货港编辑
    Route::post('/pms-pod-del', [app\controller\wmapi\partner\PodController::class, 'podDel']);// 卸货港删除
    Route::post('/pms-pod-detail', [app\controller\wmapi\partner\PodController::class, 'podDetail']);//卸货港详情



    Route::post('/pms-member-address', [app\controller\wmapi\partner\MemberAddressController::class, 'memberAddressList']);// 客户地址列表 - 分页
    Route::post('/pms-member-address-all', [app\controller\wmapi\partner\MemberAddressController::class, 'memberAddressAll']);// 客户地址列表 -无分页
    Route::post('/pms-member-area-all', [app\controller\wmapi\partner\MemberAddressController::class, 'memberAreaAll']);// 客户地区列表 -无分页
    Route::post('/pms-member-address-create', [app\controller\wmapi\partner\MemberAddressController::class, 'memberAddressCreate']);// 客户地址添加
    Route::post('/pms-member-address-detail', [app\controller\wmapi\partner\MemberAddressController::class, 'memberAddressDetail']);// 客户地址详情



    Route::post('/pms-channel', [app\controller\wmapi\partner\ChannelController::class, 'channelList']);// 渠道列表 - 分页
    Route::post('/pms-channel-all', [app\controller\wmapi\partner\ChannelController::class, 'channelAll']);// 渠道列表 -无分页
    Route::post('/pms-channel-create', [app\controller\wmapi\partner\ChannelController::class, 'channelCreate']);// 渠道添加
    Route::post('/pms-channel-edit', [app\controller\wmapi\partner\ChannelController::class, 'channelEdit']);// 渠道编辑
    Route::post('/pms-channel-del', [app\controller\wmapi\partner\ChannelController::class, 'channelDel']);// 渠道删除
    Route::post('/pms-channel-detail', [app\controller\wmapi\partner\ChannelController::class, 'channelDetail']);// 渠道详情


    Route::post('/pms-supplier-type-list', [app\controller\wmapi\partner\SupplierController::class, 'supplierTypeList']);// 供应商类型列表

    Route::post('/pms-supplier', [app\controller\wmapi\partner\SupplierController::class, 'supplierList']);// 供应商列表 - 分页
    Route::post('/pms-supplier-all', [app\controller\wmapi\partner\SupplierController::class, 'supplierAll']);// 供应商列表 -无分页
    Route::post('/pms-supplier-create', [app\controller\wmapi\partner\SupplierController::class, 'supplierCreate']);// 供应商添加
    Route::post('/pms-supplier-edit', [app\controller\wmapi\partner\SupplierController::class, 'supplierEdit']);// 供应商编辑
    Route::post('/pms-supplier-del', [app\controller\wmapi\partner\SupplierController::class, 'supplierDel']);// 供应商删除
    Route::post('/pms-supplier-detail', [app\controller\wmapi\partner\SupplierController::class, 'supplierDetail']);// 供应商详情


    Route::post('/pms-supplier-domestic-logistics', [app\controller\wmapi\partner\WaSupplierDomesticLogisticsFeesController::class, 'domesticLogisticsList']);// 国内物流供应商列表 - 分页
    Route::post('/pms-supplier-domestic-logistics-all', [app\controller\wmapi\partner\WaSupplierDomesticLogisticsFeesController::class, 'domesticLogisticsAll']);// 国内物流供应商列表 -无分页
    Route::post('/pms-supplier-domestic-logistics-create', [app\controller\wmapi\partner\WaSupplierDomesticLogisticsFeesController::class, 'domesticLogisticsCreate']);// 国内物流供应商添加
    Route::post('/pms-supplier-domestic-logistics-edit', [app\controller\wmapi\partner\WaSupplierDomesticLogisticsFeesController::class, 'domesticLogisticsEdit']);// 国内物流供应商编辑
    Route::post('/pms-supplier-domestic-logistics-del', [app\controller\wmapi\partner\WaSupplierDomesticLogisticsFeesController::class, 'domesticLogisticsDel']);// 国内物流供应商删除
    Route::post('/pms-supplier-domestic-logistics-detail', [app\controller\wmapi\partner\WaSupplierDomesticLogisticsFeesController::class, 'domesticLogisticsDetail']);// 国内物流供应商详情

    Route::post('/pms-supplier-insurance-company', [app\controller\wmapi\partner\WaSupplierInsuranceCompanyController::class, 'insuranceCompanyList']);// 保险公司供应商列表 - 分页
    Route::post('/pms-supplier-insurance-company-all', [app\controller\wmapi\partner\WaSupplierInsuranceCompanyController::class, 'insuranceCompanyAll']);// 保险公司供应商列表 -无分页
    Route::post('/pms-supplier-insurance-company-create', [app\controller\wmapi\partner\WaSupplierInsuranceCompanyController::class, 'insuranceCompanyCreate']);// 保险公司供应商添加
    Route::post('/pms-supplier-insurance-company-edit', [app\controller\wmapi\partner\WaSupplierInsuranceCompanyController::class, 'insuranceCompanyEdit']);// 保险公司供应商编辑
    Route::post('/pms-supplier-insurance-company-del', [app\controller\wmapi\partner\WaSupplierInsuranceCompanyController::class, 'insuranceCompanyDel']);// 保险公司供应商删除
    Route::post('/pms-supplier-insurance-company-detail', [app\controller\wmapi\partner\WaSupplierInsuranceCompanyController::class, 'insuranceCompanyDetail']);// 保险公司供应商详情


    Route::post('/admin-registration-fee-list', [app\controller\wmapi\partner\WaSupplierRegistrationFeeController::class, 'registrationFeeList']);// 上牌地区列表
    Route::post('/admin-registration-fee-all', [app\controller\wmapi\partner\WaSupplierRegistrationFeeController::class, 'registrationFeeAll']);// 上牌地区列表不分页
    Route::post('/admin-registration-fee-create', [app\controller\wmapi\partner\WaSupplierRegistrationFeeController::class, 'registrationFeeCreate']);// 上牌地区创建
    Route::post('/admin-registration-fee-edit', [app\controller\wmapi\partner\WaSupplierRegistrationFeeController::class, 'registrationFeeEdit']);// 上牌地区更新
    Route::post('/admin-registration-fee-delete', [app\controller\wmapi\partner\WaSupplierRegistrationFeeController::class, 'registrationFeeDelete']);// 上牌地区删除
    Route::post('/admin-registration-fee-detail', [app\controller\wmapi\partner\WaSupplierRegistrationFeeController::class, 'registrationFeeDetail']);// 上牌地区详情
    Route::post('/admin-registration-find', [app\controller\wmapi\partner\WaSupplierRegistrationFeeController::class, 'registrationFind']);// 通过省市区筛选供应商上牌费用列表
    Route::post('/admin-registration-province-all', [app\controller\wmapi\partner\WaSupplierRegistrationFeeController::class, 'registrationProvinceAll']);// 上牌省份筛选- 不分页
    Route::post('/admin-registration-city-all', [app\controller\wmapi\partner\WaSupplierRegistrationFeeController::class, 'registrationCityAll']);// 上牌市区筛选- 不分页


    Route::post('/admin-vehicle-inspection-fee-list', [app\controller\wmapi\partner\WaSupplierVehicleInspectionFeeController::class, 'vehicleInspectionFeeList']);// 车辆检测地区列表
    Route::post('/admin-vehicle-inspection-fee-all', [app\controller\wmapi\partner\WaSupplierVehicleInspectionFeeController::class, 'vehicleInspectionFeeAll']);// 车辆检测地区列表不分页
    Route::post('/admin-vehicle-inspection-fee-create', [app\controller\wmapi\partner\WaSupplierVehicleInspectionFeeController::class, 'vehicleInspectionFeeCreate']);// 车辆检测地区创建
    Route::post('/admin-vehicle-inspection-fee-edit', [app\controller\wmapi\partner\WaSupplierVehicleInspectionFeeController::class, 'vehicleInspectionFeeEdit']);// 车辆检测地区更新
    Route::post('/admin-vehicle-inspection-fee-delete', [app\controller\wmapi\partner\WaSupplierVehicleInspectionFeeController::class, 'vehicleInspectionFeeDelete']);// 车辆检测地区删除
    Route::post('/admin-vehicle-inspection-fee-detail', [app\controller\wmapi\partner\WaSupplierVehicleInspectionFeeController::class, 'vehicleInspectionFeeDetail']);// 车辆检测地区详情
    Route::post('/admin-vehicle-inspection-find', [app\controller\wmapi\partner\WaSupplierVehicleInspectionFeeController::class, 'vehicleInspectionFind']);// 通过省市区筛选供应商车辆检测费用列表
    Route::post('/admin-vehicle-inspection-province-all', [app\controller\wmapi\partner\WaSupplierVehicleInspectionFeeController::class, 'vehicleInspectionProvinceAll']);// 车辆检测省份筛选- 不分页
    Route::post('/admin-vehicle-inspection-city-all', [app\controller\wmapi\partner\WaSupplierVehicleInspectionFeeController::class, 'vehicleInspectionCityAll']);// 车辆检测市区筛选- 不分页




    Route::post('/admin-transfer-export-fee-list', [app\controller\wmapi\partner\WaSupplierTransferExportFeeController::class, 'transferExportFeeList']);// 转移待出口地区列表
    Route::post('/admin-transfer-export-fee-all', [app\controller\wmapi\partner\WaSupplierTransferExportFeeController::class, 'transferExportFeeAll']);// 转移待出口地区列表不分页
    Route::post('/admin-transfer-export-fee-create', [app\controller\wmapi\partner\WaSupplierTransferExportFeeController::class, 'transferExportFeeCreate']);// 转移待出口地区创建
    Route::post('/admin-transfer-export-fee-edit', [app\controller\wmapi\partner\WaSupplierTransferExportFeeController::class, 'transferExportFeeEdit']);// 转移待出口地区更新
    Route::post('/admin-transfer-export-fee-delete', [app\controller\wmapi\partner\WaSupplierTransferExportFeeController::class, 'transferExportFeeDelete']);// 转移待出口地区删除
    Route::post('/admin-transfer-export-fee-detail', [app\controller\wmapi\partner\WaSupplierTransferExportFeeController::class, 'transferExportFeeDetail']);// 转移待出口详情


    Route::get('/admin-dashboard', [app\controller\wmapi\IndexController::class, 'dashboard']);// 仪表盘数据

    Route::post('/admin-add-quotation-order', [app\controller\wmapi\order\OrderQuotationController::class, 'createQuotationOrder']);// 创建报价单
    Route::post('/admin-update-quotation-order', [app\controller\wmapi\order\OrderQuotationController::class, 'updateQuotationOrder']);// 更新报价单
    Route::post('/admin-update-quotation-order-status', [app\controller\wmapi\order\OrderQuotationController::class, 'updateQuotationOrderStatus']);// 报价单状态修改
    Route::post('/admin-quotation-order-list', [app\controller\wmapi\order\OrderQuotationController::class, 'quotationOrderList']);// 报价单列表
    Route::post('/admin-quotation-order-products', [app\controller\wmapi\order\OrderQuotationController::class, 'quotationOrderProducts']);// 报价单产品信息
    Route::post('/admin-quotation-order-copy', [app\controller\wmapi\order\OrderQuotationController::class, 'quotationOrderCopy']);// 报价单复制


    Route::post('/admin-add-order', [app\controller\wmapi\order\OrderController::class, 'createOrder']);// 创建销售订单
    Route::post('/admin-update-order', [app\controller\wmapi\order\OrderController::class, 'updateOrder']);// 更新销售订单
    Route::post('/admin-sales-order-list', [app\controller\wmapi\order\OrderController::class, 'salesOrderList']);// 销售订单列表
    Route::post('/admin-sales-order-all', [app\controller\wmapi\order\OrderController::class, 'salesOrderAll']);// 销售订单列表-不分页
    Route::post('/admin-sales-order-all-by-acc-info', [app\controller\wmapi\order\OrderController::class, 'salesOrderAllByAccInfo']);// 销售订单列表-不分页 - 账单列表专用
    Route::post('/admin-sales-order-all-by-purchase', [app\controller\wmapi\order\OrderPurchaseController::class, 'salesOrderAllByPurchase']);// 销售订单列表-不分页 采购专用
    Route::post('/admin-sales-order-products', [app\controller\wmapi\order\OrderController::class, 'salesOrderProducts']);// 销售订单产品信息
    Route::post('/admin-order-submit-approve', [app\controller\wmapi\order\OrderController::class, 'orderSubmitApprove']);// 销售订单-提交审批
    Route::post('/admin-order-upload-pi', [app\controller\wmapi\order\OrderController::class, 'orderUploadPi']);// 销售订单-PI上传
    Route::post('/admin-order-contract-confirm-signing', [app\controller\wmapi\order\OrderController::class, 'orderContractConfirmSigning']);// 销售合同-确认签署 （上传合同）



    Route::post('/admin-order-return-draft', [app\controller\wmapi\order\OrderController::class, 'orderReturnDraft']);// 销售订单-退回草稿
    Route::post('/admin-order-withdraw-approve', [app\controller\wmapi\order\OrderController::class, 'orderWithdrawApprove']);// 销售订单-撤回审批
    Route::post('/admin-order-confirm-completion-procurement', [app\controller\wmapi\order\OrderController::class, 'confirmCompletionProcurement']);// 销售订单-确认完成采购
    Route::post('/admin-order-customer-confirm-signing', [app\controller\wmapi\order\OrderController::class, 'customerConfirmSigning']);// 销售订单-客户确认签署
    Route::post('/admin-order-generate-contract', [app\controller\wmapi\order\OrderController::class, 'generateContract']);// 销售订单-生成合同
    Route::post('/admin-order-confirm-shipment', [app\controller\wmapi\order\OrderController::class, 'confirmShipment']);// 销售订单-确认发货
    Route::post('/admin-order-confirm-receipt', [app\controller\wmapi\order\OrderController::class, 'confirmReceipt']);// 销售订单-确认收货
    Route::post('/admin-order-confirm-declare', [app\controller\wmapi\order\OrderController::class, 'confirmDeclare']);// 销售订单-报关确认
    Route::post('/admin-order-confirm-delivery-bill', [app\controller\wmapi\order\OrderController::class, 'confirmDeliveryBill']);// 销售订单-交付提单(交车)
//    Route::post('/admin-order-confirm-completion-purchase', [app\controller\wmapi\order\OrderController::class, 'ConfirmCompletionPurchase']);// 销售订单-确认完成采购 作废
    Route::post('/admin-order-merge', [app\controller\wmapi\order\OrderController::class, 'ordermMerge']);// 销售订单-合并订单

    Route::post('/admin-order-confirmation-deposit-receipt', [app\controller\wmapi\order\AccountingInformationController::class, 'confirmationDepositReceipt']);// 销售订单-定金确认到账
//    Route::post('/admin-order-finance-confirmation-balance-received', [app\controller\wmapi\order\AccountingInformationController::class, 'financeConfirmationBalanceReceived']);// 销售订单-财务确认余款到账 (合并了)
    Route::post('/admin-order-confirmation-balance-received', [app\controller\wmapi\order\AccountingInformationController::class, 'confirmationBalanceReceived']);// 销售订单-余款确认到账
    Route::post('/admin-order-finance-confirmation', [app\controller\wmapi\order\AccountingInformationController::class, 'financeConfirmation']);// 销售订单-财务确认定金余款到账
    Route::post('/admin-order-finance-exception', [app\controller\wmapi\order\AccountingInformationController::class, 'financeException']);// 销售订单-到账异常

    Route::post('/admin-account-infor-approve-withdraw', [app\controller\wmapi\order\AccountingInformationController::class, 'accountInforApproveWithdraw']);// 账单撤回分配审批
    Route::post('/admin-order-accounting-information-list', [app\controller\wmapi\order\AccountingInformationController::class, 'accountingInformationList']);// 收款管理
    Route::post('/admin-order-accounting-information-detail', [app\controller\wmapi\order\AccountingInformationController::class, 'accountingInformationDetail']);// 收款管理详情
    Route::post('/admin-accounting-information-create', [app\controller\wmapi\order\AccountingInformationController::class, 'accountingInformationCreate']);// 创建/编辑账单
    Route::post('/admin-order-accounting-information-list-by-sales', [app\controller\wmapi\order\AccountingInformationController::class, 'accountingInformationListBySales']);// 账单列表
    Route::post('/admin-order-accounting-information-detail-by-sales', [app\controller\wmapi\order\AccountingInformationController::class, 'accountingInformationDetailBySales']);// 账单详情
    Route::post('/admin-order-accounting-information-detail-by-allocation', [app\controller\wmapi\order\AccountingInformationController::class, 'accountingInformationDetailByAllocation']);// 账单分配详情
//    Route::post('/admin-order-accounting-information-list-by-sales', [app\controller\wmapi\order\AccountingInformationController::class, 'accountingInformationListBySales']);// 账单列表
//    Route::post('/admin-order-accounting-information-detail-by-sales', [app\controller\wmapi\order\AccountingInformationController::class, 'accountingInformationDetailBySales']);// 账单详情
//    Route::post('/admin-order-accounting-information-detail-by-allocation', [app\controller\wmapi\order\AccountingInformationController::class, 'accountingInformationDetailByAllocation']);// 账单分配详情






    Route::post('/admin-accounting-allocation-to-order', [app\controller\wmapi\order\AccountingInformationController::class, 'allocationToOrder']);// 账单分配到订单
    Route::post('/admin-funds-confirmation-by-finance', [app\controller\wmapi\order\AccountingInformationController::class, 'fundsConfirmationByFinance']);// 销售订单-财务确认资金到账


    Route::post('/admin-order-cancellation', [app\controller\wmapi\order\OrderController::class, 'orderCancellation']);// 销售订单-订单作废
    Route::post('/admin-order-by-status', [app\controller\wmapi\order\OrderController::class, 'orderByStatus']);// 关联销售订单列表
//    Route::post('/admin-sales-contract-create', [app\controller\wmapi\order\OrderController::class, 'salesContractCreate']);// 销售订单合同创建

    Route::post('/admin-sales-orders-approve-list', [app\controller\wmapi\examineapprove\SalesOrdersApproveController::class, 'salesOrdersApproveList']);// 销售订单审批列表
    Route::post('/admin-sales-orders-approve-status', [app\controller\wmapi\examineapprove\SalesOrdersApproveController::class, 'salesOrdersApproveUpdate']);// 销售订单审批状态更新
    Route::post('/admin-sales-orders-approve-detail', [app\controller\wmapi\examineapprove\SalesOrdersApproveController::class, 'salesOrdersApproveDetail']);// 销售合同审批详情
    Route::post('/admin-sales-wait-approve-by-admin-list', [app\controller\wmapi\examineapprove\SalesOrdersApproveController::class, 'salesOrdersWaitApproveByAdminIdList']);// 销售订单待审批 - 审批人 - 列表


    Route::post('/admin-account-information-approve-list', [app\controller\wmapi\examineapprove\AccountInformationApproveController::class, 'AccountInformationApproveList']);// 账单审批列表
    Route::post('/admin-account-information-approve-status', [app\controller\wmapi\examineapprove\AccountInformationApproveController::class, 'AccountInformationApproveUpdate']);// 账单审批-状态更新
    Route::post('/admin-account-information-approve-detail', [app\controller\wmapi\examineapprove\AccountInformationApproveController::class, 'AccountInformationApproveDetail']);// 账单审批-详情
    Route::post('/admin-account-information-wait-approve-by-admin-list', [app\controller\wmapi\examineapprove\AccountInformationApproveController::class, 'AccountInformationWaitApproveByAdminIdList']);// 账单待审批 - 审批人 - 列表



    Route::post('/admin-supplier-approve-list', [app\controller\wmapi\examineapprove\SupplierApproveController::class, 'supplierApproveList']);// 供应商审批 -列表-分页
    Route::post('/admin-supplier-approve-update', [app\controller\wmapi\examineapprove\SupplierApproveController::class, 'supplierApproveUpdate']);// 供应商审批-状态更新
    Route::post('/admin-supplier-approve-detail', [app\controller\wmapi\examineapprove\SupplierApproveController::class, 'supplierApproveDetail']);// 供应商审批-详情




    Route::post('/admin-add-purchase-order', [app\controller\wmapi\order\OrderPurchaseController::class, 'createPurchaseOrder']);// 创建采购订单
    Route::post('/admin-update-purchase-order', [app\controller\wmapi\order\OrderPurchaseController::class, 'updatePurchaseOrder']);// 更新采购订单
    Route::post('/admin-update-purchase-order-status', [app\controller\wmapi\order\OrderPurchaseController::class, 'updatePurchaseOrderStatus']);// 采购订单状态修改
    Route::post('/admin-purchase-order-list', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchaseOrderList']);// 采购订单列表
    Route::post('/admin-purchase-order-all', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchaseOrderAll']);// 采购订单列表 - 不分页
    Route::post('/admin-purchase-order-all-children', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchaseOrderAllChildren']);// 采购订单子产品列表
    Route::post('/admin-purchase-order-detail', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchaseOrderDetail']);// 采购订单详情信息
    Route::post('/admin-purchase-order-by-status', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchaseOrderByStatus']);// 关联采购订单列表
//    Route::post('/admin-purchased-order-confirm-lnvoicing', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchasedOrderConfirmLnvoicing']);// 采购订单-确认开票
    Route::post('/admin-purchased-order-delete', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchaseOrderDelete']);// 采购订单-删除
    Route::post('/admin-purchase-contract-confirm-signing', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchaseContractConfirmSigning']);// 采购合同-确认签署
    Route::post('/admin-purchase-confirm-payment-completion', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchaseConfirmPaymentCompletion']);// 采购确认付款完成
//    Route::post('/admin-purchase-payment-detail', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchasePaymentDetail']);// 采购账单请款账类目明细
    Route::post('/admin-purchase-order-submit-approve', [app\controller\wmapi\order\OrderPurchaseController::class, 'purchaseOrderSubmitApprove']);// 采购订单提交审批




    Route::post('/admin-specs-massage-list', [app\controller\wmapi\management\WpProductCansController::class, 'specsMassageList']);// 车型数据列表分页
    Route::post('/admin-specs-massage-all', [app\controller\wmapi\management\WpProductCansController::class, 'specsMassageAll']);// 车型数据列表不分页
    Route::post('/admin-specs-massage-detail', [app\controller\wmapi\management\WpProductCansController::class, 'specsMassageDetail']);// 车型数据详情


    Route::post('/admin-specs-dcd-massage-list', [app\controller\wmapi\management\DcdSpecsCansController::class, 'specsDcdMassageList']);// 懂车帝车型数据列表分页
    Route::post('/admin-specs-dcd-massage-all', [app\controller\wmapi\management\DcdSpecsCansController::class, 'specsDcdMassageAll']);// 懂车帝车型数据列表不分页
    Route::post('/admin-specs-dcd-massage-detail', [app\controller\wmapi\management\DcdSpecsCansController::class, 'specsDcdMassageDetail']);// 懂车帝车型数据详情



    Route::post('/admin-product-list', [app\controller\wmapi\purchase\WaProductsController::class, 'productList']);// 产品列表
    Route::post('/admin-product-list-all', [app\controller\wmapi\purchase\WaProductsController::class, 'productListAll']);// 产品列表-不分页
    Route::post('/admin-product-create', [app\controller\wmapi\purchase\WaProductsController::class, 'productCreate']);// 产品创建
    Route::post('/admin-product-edit', [app\controller\wmapi\purchase\WaProductsController::class, 'productUpdate']);// 产品编辑
    Route::post('/admin-product-delete', [app\controller\wmapi\purchase\WaProductsController::class, 'productDelete']);// 产品删除
    Route::post('/admin-product-detail', [app\controller\wmapi\purchase\WaProductsController::class, 'productDetail']);// 产品详情


    Route::post('/admin-purchase-orders-approve-list', [app\controller\wmapi\examineapprove\PurchaseOrdersApproveController::class, 'purchaseOrdersApproveList']);// 采购订单审批列表
//    Route::post('/admin-purchase-orders-approve-create', [app\controller\wmapi\examineapprove\PurchaseOrdersApproveController::class, 'purchaseOrdersApproveCreate']);// 创建采购订单审批
//    Route::post('/admin-purchase-orders-approve-edit', [app\controller\wmapi\examineapprove\PurchaseOrdersApproveController::class, 'purchaseOrdersApproveUpdate']);// 编辑采购订单审批
    Route::post('/admin-purchase-orders-approve-status', [app\controller\wmapi\examineapprove\PurchaseOrdersApproveController::class, 'purchaseOrdersApproveStatus']);// 采购订单审批状态修改
    Route::post('/admin-purchase-orders-approve-detail', [app\controller\wmapi\examineapprove\PurchaseOrdersApproveController::class, 'purchaseOrdersApproveDetail']);// 采购订单审批详情
    Route::post('/admin-purchase-orders-wait-approve-by-admin-list', [app\controller\wmapi\examineapprove\PurchaseOrdersApproveController::class, 'purchaseOrdersWaitApproveByAdminIdList']);// 采购订单待审批 - 审批人 - 列表



//    Route::post('/admin-purchase-contract-submit-approve', [app\controller\wmapi\order\OrderPurchaseContractController::class, 'purchaseContractSubmitApprove']);// 采购合同提交审批
//    Route::post('/admin-purchase-contract-withdraw-approve', [app\controller\wmapi\order\OrderPurchaseContractController::class, 'purchaseContractWithdrawApprove']);// 采购合同撤回审批
//    Route::post('/admin-purchase-contract-list', [app\controller\wmapi\order\OrderPurchaseContractController::class, 'purchaseContractList']);// 采购合同列表
//    Route::post('/admin-purchase-contract-create', [app\controller\wmapi\order\OrderPurchaseContractController::class, 'purchaseContractCreate']);// 创建合同订单
//    Route::post('/admin-purchase-contract-edit', [app\controller\wmapi\order\OrderPurchaseContractController::class, 'purchaseContractUpdate']);// 编辑采购合同
//    Route::post('/admin-purchase-contract-status-update', [app\controller\wmapi\order\OrderPurchaseContractController::class, 'purchaseContractStatusUpdate']);// 采购合同状态修改
//    Route::post('/admin-purchase-contract-detail', [app\controller\wmapi\order\OrderPurchaseContractController::class, 'purchaseContractDetail']);// 采购合同详情
//


//    Route::post('/admin-purchase-contract-approve-list', [app\controller\wmapi\examineapprove\PurchaseContractApproveController::class, 'purchaseContractApproveList']);// 采购合同审批列表
//    Route::post('/admin-purchase-contract-approve-create', [app\controller\wmapi\examineapprove\PurchaseContractApproveController::class, 'purchaseContractApproveCreate']);// 创建合同订单审批
//    Route::post('/admin-purchase-contract-approve-status', [app\controller\wmapi\examineapprove\PurchaseContractApproveController::class, 'purchaseContractApproveUpdate']);// 采购合同审批状态更新
//    Route::post('/admin-purchase-contract-approve-detail', [app\controller\wmapi\examineapprove\PurchaseContractApproveController::class, 'purchaseContractApproveDetail']);// 采购合同审批详情

    
    Route::post('/admin-payroll-by-car-service-create', [app\controller\wmapi\order\PurchasePayrollRequisitionController::class, 'payrollRequisitionByCarServiceCreate']);// 车辆管理-车务请款


    Route::post('/admin-purchase-payroll-create', [app\controller\wmapi\order\PurchasePayrollRequisitionController::class, 'purchasePayrollRequisitionCreate']);// 采购订单-定金请款
    Route::post('/admin-purchase-payroll-by-balance', [app\controller\wmapi\order\PurchasePayrollRequisitionController::class, 'purchasePayrollRequisitionByBalance']);// 采购订单-尾款单请款
    Route::post('/admin-purchase-payroll-detail', [app\controller\wmapi\order\PurchasePayrollRequisitionController::class, 'purchasePayrollRequisitionDetail']);// 采购请款单详情

    Route::post('/admin-purchase-payroll-list', [app\controller\wmapi\order\PurchasePayrollRequisitionController::class, 'purchasePayrollRequisitionList']);// 现结付款列表
    Route::post('/admin-payroll-requisition-withdraw', [app\controller\wmapi\order\PurchasePayrollRequisitionController::class, 'payrollRequisitionWithdraw']);// 请款单撤回

    Route::post('/admin-monthly-settlement-payroll-requisition-list', [app\controller\wmapi\order\MonthlySettlementController::class, 'monthlySettlementPayrollRequisitionList']);// 月结请款单列表
    Route::post('/admin-monthly-settlement-payroll-create', [app\controller\wmapi\order\PurchasePayrollRequisitionController::class, 'monthlySettlementPayrollReurchaseCreate']);// 月结账单请款


    Route::post('/admin-purchase-payroll-status-update', [app\controller\wmapi\order\PurchasePayrollRequisitionController::class, 'purchasePayrollRequisitionStatusUpdate']);// 请款单状态修改
    Route::post('/admin-purchase-payroll-confirm-pay', [app\controller\wmapi\order\PurchasePayrollRequisitionController::class, 'payrollRequisitionConfirmPay']);// 请款单确认付款



    Route::post('/admin-monthly-settlement-create', [app\controller\wmapi\order\MonthlySettlementController::class, 'monthlySettlementCreate']);// 转月结
    Route::post('/admin-monthly-settlement-list', [app\controller\wmapi\order\MonthlySettlementController::class, 'monthlySettlementList']);// 月结款项单列表
    Route::post('/admin-monthly-settlement-detail', [app\controller\wmapi\order\MonthlySettlementController::class, 'monthlySettlementDetail']);// 月结款项单详情
    Route::post('/admin-monthly-settlement-withdraw', [app\controller\wmapi\order\MonthlySettlementController::class, 'monthlySettlementWithdraw']);// 月结款项-撤回
    Route::post('/admin-monthly-settlement-withdraw-all', [app\controller\wmapi\order\MonthlySettlementController::class, 'monthlySettlementWithdrawAll']);// 月结请款单-所有款项撤回


    Route::post('/admin-purchased-vehicles-list', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesList']);// 已采购车辆入库列表
    Route::post('/admin-purchased-vehicles-list-all', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesListAll']);// 已采购车辆列表不分页 - 已入库/未配车
    Route::post('/admin-purchased-vehicles-create', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesCreate']);// 采购订单确认配车->创建车辆集库待发运信息
    Route::post('/admin-purchased-vehicles-status', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesStatus']);// 已采购车辆入库状态修改
    Route::post('/admin-purchased-vehicles-detail', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesDetail']);// 已采购车辆详情  - 国内详情
    Route::post('/admin-purchased-domestic-vehicles-detail', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedDomesticVehiclesDetail']);// 已采购车辆详情  - 国内详情
    Route::post('/admin-purchased-inter-vehicles-detail', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedInterVehiclesDetail']);// 已采购车辆详情 - 国际详情
    Route::post('/admin-purchased-vehicles-by-pur-child', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesByPurChild']);// 已采购车辆入库列表-产品采购数据
    Route::post('/admin-vehicles-by-ground-cost-detail', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'vehiclesByGroundCostDetail']);// 确认订舱-凭证获取-地面入港费用
    Route::post('/admin-vehicles-by-inter-cost-detail', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'vehiclesByInterCostDetail']);// 确认订舱-凭证获取-国际货运费用
    Route::post('/admin-vehicles-by-balance-foreign-exchange-receipt-detail', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'vehiclesByBalanceForeignExchangeReceiptDetail']);// 确认提单释放-凭证获取-尾款外汇支付水单



    Route::post('/admin-purchased-vehicles-confirm-Shipping', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'vehiclesCollectionShipping']);// 集库发运（待验车入库）
    Route::post('/admin-purchased-vehicles-confirm-warehousing', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmWarehousing']);// 验车入库（已入库待上牌）
    Route::post('/admin-purchased-vehicles-confirm-registration', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmRegistration']);// 确认上牌 (代开二手车票)
    Route::post('/admin-purchased-vehicles-confirm-invoicing', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmInvoicing']);// 已开二手票(待转移出口)
    Route::post('/admin-purchased-vehicles-confirm-off', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmOff']);// 确认注销(待退保)
    Route::post('/admin-purchased-vehicles-confirm-transfer-export', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmTransferExport']);// 确认转移出口(待注销)
    Route::post('/admin-purchased-vehicles-confirm-surrender', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmSurrender']);// 确认退保(待集港发运)


    Route::post('/admin-purchased-vehicles-confirm-booking-space', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmBookingSpace']);// 确认订舱(待报关)
    Route::post('/admin-purchased-vehicles-confirm-declare-customs', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmDeclareCustoms']);// 确认报关(待装运)
    Route::post('/admin-purchased-vehicles-confirm-shipment', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmShipment']);// 确认装运(待提单释放)
    Route::post('/admin-purchased-vehicles-confirm-release-billLading', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmReleaseBillLading']);// 确认提单释放(待结关)
    Route::post('/admin-purchased-vehicles-confirm-customs-clearance', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmCustomsClearance']);// 确认结关(待退税)
    Route::post('/admin-purchased-vehicles-confirm-drawback', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesConfirmDrawback']);// 确认报关(待装运)

    Route::post('/admin-vin-amount-detail-list', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'vinAmountDetailList']);// 车辆费用明细列表
    Route::post('/admin-vin-amount-detail-created', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'vinAmountDetailCreated']);// 车辆费用明细添加
    Route::post('/admin-vin-amount-detail-del', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'addAmountDetailDeletedById']);// 车辆费用明细添加
    Route::post('/admin-vin-amount-detail-domplete', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'addAmountDetailDomplete']);// 车辆费用完结




//    Route::post('/admin-purchased-traffic-insurance', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedTrafficInsurance']);// 已采购车辆 - 待支付交强险
    Route::post('/admin-purchased-vehicles-edit', [app\controller\wmapi\order\WaPurchasedVehiclesController::class, 'purchasedVehiclesEdit']);// 采购车辆待入库 - 编辑（凭证）



    Route::post('/admin-payroll-approve-list', [app\controller\wmapi\examineapprove\PayrollRequisitionApproveController::class, 'payrollRequisitionApproveList']);// 采购请款审批列表
    Route::post('/admin-payroll-approve-create', [app\controller\wmapi\examineapprove\PayrollRequisitionApproveController::class, 'payrollRequisitionApproveCreate']);// 创建请款订单审批
    Route::post('/admin-payroll-approve-status', [app\controller\wmapi\examineapprove\PayrollRequisitionApproveController::class, 'payrollRequisitionApproveUpdate']);// 编辑采购请款审批
    Route::post('/admin-payroll-approve-detail', [app\controller\wmapi\examineapprove\PayrollRequisitionApproveController::class, 'payrollRequisitionApproveDetail']);// 采购请款审批详情
    Route::post('/admin-payroll-wait-approve-by-admin-list', [app\controller\wmapi\examineapprove\PayrollRequisitionApproveController::class, 'payrollRequisitionWaitApproveByAdminIdList']);// 请款待审批 - 审批人 - 列表



    Route::post('/admin-registration-company-list', [app\controller\wmapi\partner\WaRegistrationCompanyController::class, 'registrationCompanyList']);// 上牌公司列表
    Route::post('/admin-registration-company-all', [app\controller\wmapi\partner\WaRegistrationCompanyController::class, 'registrationCompanyAll']);// 上牌公司列表不分页
    Route::post('/admin-registration-company-create', [app\controller\wmapi\partner\WaRegistrationCompanyController::class, 'registrationCompanyCreate']);// 上牌公司创建
    Route::post('/admin-registration-company-edit', [app\controller\wmapi\partner\WaRegistrationCompanyController::class, 'registrationCompanyEdit']);// 上牌公司更新
    Route::post('/admin-registration-company-detail', [app\controller\wmapi\partner\WaRegistrationCompanyController::class, 'registrationCompanyDetail']);// 上牌公司详情
    Route::post('/admin-registration-company-province-all', [app\controller\wmapi\partner\WaRegistrationCompanyController::class, 'registrationCompanyProvinceAll']);// 上牌公司省份筛选- 不分页
    Route::post('/admin-registration-company-city-all', [app\controller\wmapi\partner\WaRegistrationCompanyController::class, 'registrationCompanyCityAll']);// 上牌公司市区筛选- 不分页
    Route::post('/admin-registration-company-status-up', [app\controller\wmapi\partner\WaRegistrationCompanyController::class, 'registrationCompanyStatusUp']);// 上牌公司状态更新


    Route::post('/admin-transfer-export-company-list', [app\controller\wmapi\partner\WaTransferExportCompanyController::class, 'transferExportCompanyList']);// 出口公司列表
    Route::post('/admin-transfer-export-company-all', [app\controller\wmapi\partner\WaTransferExportCompanyController::class, 'transferExportCompanyAll']);// 出口公司列表不分页
    Route::post('/admin-transfer-export-company-create', [app\controller\wmapi\partner\WaTransferExportCompanyController::class, 'transferExportCompanyCreate']);// 出口公司创建
    Route::post('/admin-transfer-export-company-edit', [app\controller\wmapi\partner\WaTransferExportCompanyController::class, 'transferExportCompanyEdit']);// 出口公司更新
    Route::post('/admin-transfer-export-company-detail', [app\controller\wmapi\partner\WaTransferExportCompanyController::class, 'transferExportCompanyDetail']);// 出口公司详情
    Route::post('/admin-transfer-export-company-province-all', [app\controller\wmapi\partner\WaTransferExportCompanyController::class, 'transferExportCompanyProvinceAll']);// 出口公司省份筛选- 不分页
    Route::post('/admin-transfer-export-company-city-all', [app\controller\wmapi\partner\WaTransferExportCompanyController::class, 'transferExportCompanyCityAll']);// 出口公司市区筛选- 不分页
    Route::post('/admin-transfer-export-company-status-up', [app\controller\wmapi\partner\WaTransferExportCompanyController::class, 'transferExportCompanyStatusUp']);// 出口公司状态更新


    Route::get('/ding-ding-notify-test', [app\controller\wmapi\message\MessageNotifyController::class, 'dingDingNotifyTest']);// 消息通知测试接口
    Route::post('/ding-ding-notify-test2', [app\controller\wmapi\message\MessageNotifyController::class, 'dingDingNotifyTest2']);// 消息通知测试接口
    Route::post('/ding-talk-message-notification', [app\controller\wmapi\message\MessageNotifyController::class, 'dingTalkMessageNotification']);// 消息通知测试接口
    Route::post('/ding-talk-message-webhook', [app\controller\wmapi\message\MessageNotifyController::class, 'dingTalkMessageWebhook']);// webhook消息通知测试接口





    Route::post('/admin-approve-setting-create', [app\controller\wmapi\approvalsetting\ApproveSettingController::class, 'approveSetting']);// 审批流配置按人
    Route::post('/admin-approve-setting-list-all', [app\controller\wmapi\approvalsetting\ApproveSettingController::class, 'approveListAll']);// 审批流列表不分页
    Route::post('/admin-approve-flow-detail', [app\controller\wmapi\approvalsetting\ApproveSettingController::class, 'approveFlowDetail']);// 审批流详情


    Route::post('/admin-refresh-token', [app\controller\wmapi\LoginController::class, 'refreshToken']);// 管理员登录


})->middleware([
    app\middleware\CrossDomain::class,
//    app\middleware\ApiLog::class
]);


Route::group('/refresh', function () {

});
